package com.tedu.dao;

import java.util.List;
import java.util.Map;

import com.tedu.model.Order;

public interface IOrderDao extends IBaseDao<Order> {
	public List<Order> list(int uid);
	
	public List<Order> adminlist(int status);  //后台显示
	public List<Order> adminsearch(String str);  //后台搜索
	public List<Order> adminmouthorder();  //后台按月统计
	
	public void  cancel(int  orderid);	
	public List<Order> listBySearch(Map<String, Object> args);
	
	public List<Order> listByStatus(Map<String, Object> args);
	public int countByStatus(Map<String, Object> args);
}
